package com.automannn.seataSamples.api.service;

import com.automannn.seataSamples.api.dto.AccountDTO;
import com.automannn.seataSamples.api.response.ObjectResponse;

/**
 * @author automannn
 * @Date 2022/3/24
 * @Description 账户服务
 */
public interface AccountService {

    /**
     * 从账户中扣钱
     * @param accountDTO 账户信息
     * @return 扣钱结果
     */
    ObjectResponse decreaseAccount(AccountDTO accountDTO);
}
